Skip to content

Conversation

@incrypto32
Copy link
Member

No description provided.

@incrypto32 incrypto32 force-pushed the krishna/lmdb-stream-state-store branch from aac3a46 to ac94124 Compare November 25, 2025 11:12
@edgeandnode edgeandnode deleted a comment from github-actions bot Nov 25, 2025
@incrypto32 incrypto32 requested a review from fordN November 25, 2025 16:56
@incrypto32 incrypto32 force-pushed the krishna/lmdb-stream-state-store branch from ac94124 to cffbdff Compare January 9, 2026 10:21
The _is_duplicate_batch check was incorrectly skipping batches based only
on comparing ranges to the previous batch. This is wrong because:
1. Proper duplicate detection is handled by state_store.is_processed() in
   load_stream_continuous, which checks against ALL processed batches
2. The range-only comparison does not check hashes, so batches with same
   ranges but different data (after reorg) would be incorrectly skipped
3. After crash/restart, prev_ranges_by_network is empty anyway
@incrypto32 incrypto32 force-pushed the krishna/lmdb-stream-state-store branch from cffbdff to 65a73f5 Compare January 11, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants